package com.pojo;

import java.text.SimpleDateFormat;
import java.util.Date;

public class PojoAll {
    private String no;//凭证编号
    private double amount;//融资金额
    private double cost;//融资成本
    private String name;//机构名称
    private String enterprise_name;//企业名称
    private String social_uniform_code;//社会统一代码
    private Date create_time;//申请日期
    private Date receipt_time;//预计放款日期
    private double reciept_amount;//预计到账金额
    private String uplink_address;//上链地址
    private String financing_status;//处理状态
    private String fin;//进度状态
    private Date open_time;//开单日期
    private Date expiry_time;//到期日期
    private String source;//凭证来源
    private String voucher_status;//凭证状态
    private String payment_interest_type;//付息方式
    private String remark;//备注



    //融资列表
    public PojoAll(String no, double amount, double cost, String name, Date create_time, Date receipt_time, String uplink_address, String financing_status, String fin) {
        this.no = no;
        this.amount = amount;
        this.cost = cost;
        this.name = name;
        this.create_time = create_time;
        this.receipt_time = receipt_time;
        this.uplink_address = uplink_address;
        this.financing_status = financing_status;
        this.fin = fin;
    }


//    //融资详情
//    public pojoALL(String no, double amount, String instituty_name, Date create_time, Date receipt_time, double reciept_amount, String financing_status, String payment_interest_type) {
//        this.no = no;
//        this.amount = amount;
//        this.instituty_name = instituty_name;
//        this.create_time = create_time;
//        this.receipt_time = receipt_time;
//        this.reciept_amount = reciept_amount;
//        this.financing_status = financing_status;
//        this.payment_interest_type = payment_interest_type;
//    }
//
//    //我的凭证列表
//    public pojoALL(String no, double amount, String instituty_name, String enterprise_name, String uplink_address, Date open_time, Date expiry_time, String source, String voucher_status) {
//        this.no = no;
//        this.amount = amount;
//        this.instituty_name = instituty_name;
//        this.enterprise_name = enterprise_name;
//        this.uplink_address = uplink_address;
//        this.open_time = open_time;
//        this.expiry_time = expiry_time;
//        this.source = source;
//        this.voucher_status = voucher_status;
//    }


    public PojoAll(String no, double amount, double cost, String name, String enterprise_name, String social_uniform_code, Date create_time, Date receipt_time, double reciept_amount, String uplink_address, String financing_status, String fin, Date open_time, Date expiry_time, String source, String voucher_status, String payment_interest_type, String remark) {
        this.no = no;
        this.amount = amount;
        this.cost = cost;
        this.name = name;
        this.enterprise_name = enterprise_name;
        this.social_uniform_code = social_uniform_code;
        this.create_time = create_time;
        this.receipt_time = receipt_time;
        this.reciept_amount = reciept_amount;
        this.uplink_address = uplink_address;
        this.financing_status = financing_status;
        this.fin = fin;
        this.open_time = open_time;
        this.expiry_time = expiry_time;
        this.source = source;
        this.voucher_status = voucher_status;
        this.payment_interest_type = payment_interest_type;
        this.remark = remark;
    }

    public PojoAll() {

    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public String getname() {
        return name;
    }

    public void setInstituty_name(String name) {
        this.name = name;
    }

    public String getEnterprise_name() {
        return enterprise_name;
    }

    public void setEnterprise_name(String enterprise_name) {
        this.enterprise_name = enterprise_name;
    }

    public String getSocial_uniform_code() {
        return social_uniform_code;
    }

    public void setSocial_uniform_code(String social_uniform_code) {
        this.social_uniform_code = social_uniform_code;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getReceipt_time() {
        return receipt_time;
    }

    public void setReceipt_time(Date receipt_time) {
        this.receipt_time = receipt_time;
    }

    public double getReciept_amount() {
        return reciept_amount;
    }

    public void setReciept_amount(double reciept_amount) {
        this.reciept_amount = reciept_amount;
    }

    public String getUplink_address() {
        return uplink_address;
    }

    public void setUplink_address(String uplink_address) {
        this.uplink_address = uplink_address;
    }

    public String getFinancing_status() {
        return financing_status;
    }

    public void setFinancing_status(String financing_status) {
        this.financing_status = financing_status;
    }

    public String getFin() {
        return fin;
    }

    public void setFin(String fin) {
        this.fin = fin;
    }

    public Date getOpen_time() {
        return open_time;
    }

    public void setOpen_time(Date open_time) {
        this.open_time = open_time;
    }

    public Date getExpiry_time() {
        return expiry_time;
    }

    public void setExpiry_time(Date expiry_time) {
        this.expiry_time = expiry_time;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getVoucher_status() {
        return voucher_status;
    }

    public void setVoucher_status(String voucher_status) {
        this.voucher_status = voucher_status;
    }

    public String getPayment_interest_type() {
        return payment_interest_type;
    }

    public void setPayment_interest_type(String payment_interest_type) {
        this.payment_interest_type = payment_interest_type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "pojoALL{" +
                "no='" + no + '\'' +
                ", amount=" + amount +
                ", cost=" + cost +
                ", name='" + name + '\'' +
                ", enterprise_name='" + enterprise_name + '\'' +
                ", social_uniform_code='" + social_uniform_code + '\'' +
                ", create_time=" + create_time +
                ", receipt_time=" + receipt_time +
                ", reciept_amount=" + reciept_amount +
                ", uplink_address='" + uplink_address + '\'' +
                ", financing_status='" + financing_status + '\'' +
                ", fin='" + fin + '\'' +
                ", open_time=" + open_time +
                ", expiry_time=" + expiry_time +
                ", source='" + source + '\'' +
                ", voucher_status='" + voucher_status + '\'' +
                ", payment_interest_type='" + payment_interest_type + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
